package com.cloud.spring.demo.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

@Data
@Document(indexName = "address", type = "type1")
public class Address implements Serializable {
    private int id;
    private String addressName;
    private String addressMessage;
}
